const express = require("express");
const router = express.Router();

// user路由
const userRoutes = require("./user");
router.use("/user", userRoutes);

// menu路由
const menuRoutes = require("./menu");
router.use("/menu", menuRoutes);

// role路由
const roleRoutes = require("./role");
router.use("/role", roleRoutes);

// 字典路由
const dictRoutes = require("./dict");
router.use("/dict", dictRoutes);

// 字典项路由
const dictItemRoutes = require("./dict_item");
router.use("/dict-item", dictItemRoutes);

module.exports = router;
